/*
 ------------------------------------------------------------------------------
 Copyright (C) 2013 Eternal Games.

 This file is part of the GLQuake source code.

 The GLQuake source code is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or (at your
 option) any later version.

 The GLQuake source code is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 more details.

 You should have received a copy of the GNU General Public License along with
 the GLQuake source code; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 ------------------------------------------------------------------------------
*/


//
// gui_local.h - local header to all GUI files
//


#ifndef __GUI_LOCAL_H__
#define __GUI_LOCAL_H__


#include "../client/client.h"
#include "gui_public.h"


/*
 ==============================================================================

 DEFINITION MANAGER

 ==============================================================================
*/

#define MAX_GUIS						128

struct gui_t {
	char					name[MAX_PATH_LENGTH];

	gui_t *					nextHash;
};

gui_t *			GUI_Find (const char *name);

void			GUI_InitGUIs ();
void			GUI_ShutdownGUIs ();

/*
 ==============================================================================

 GLOBALS

 ==============================================================================
*/

struct guiSystem_t {
	bool					initialized;
};

extern guiSystem_t			guiSystem;


#endif	// __GUI_LOCAL_H__